package com.nky.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.nky.mapper.RoleMenuMapper;
import com.nky.pojo.RoleMenu;
import com.nky.service.IRoleMenuService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleMenuServiceImpl extends ServiceImpl<RoleMenuMapper, RoleMenu> implements IRoleMenuService {
//    public List<RoleMenu> getRoleMenus(Integer roleId, Integer institutionId) {
//        LambdaQueryWrapper<RoleMenu> queryWrapper = new LambdaQueryWrapper<>();
//        queryWrapper.eq(RoleMenu::getRoleId, roleId);
//        queryWrapper.eq(RoleMenu::getInstitutionId, institutionId);
//        return list(queryWrapper);
//    }
}
